xen/sched: remove pointless BUG_ON() in credit2
authorJuergen Gross <jgross@suse.com>
Tue, 11 Feb 2020 09:44:18 +0000 (10:44 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 11 Feb 2020 10:55:38 +0000 (10:55 +0000)
commit6bb06bb0eb1528319998de602f969c474396c306
tree1d6449a725b4383440b0802ec0fdc3bdbccaa62d
parent3dd724dff085e13ad520f8e35aea717db2ff07d0
xen/sched: remove pointless BUG_ON() in credit2

The BUG_ON() at the top of csched2_context_saved() is completely
pointless, as the ASSERT() just following it catches the same problem
already.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Dario Faggioli <dfaggioli@suse.com>
xen/common/sched/credit2.c